var SEX_DISK={
		initPage: function(){
			Ext.create('Ext.container.Viewport', {
			    layout: 'border',
			    frame:false,
			    border:false,
			    items: [{
			    	id: 'mainPanel',
			        region: 'center',
			        layout: 'fit',
			        items:[SEX_DISK.createCarGrid()]
			    }]
			});
		},
		createCarGrid: function(){
			var gender_grid = Ext.create('Ext.com.bkfm.datagrid', {
				id: "gender_grid",
				objPath : "ROOT/XTGLPT/SJZDGL/BLK_DIC_GENDER",
				border: true,
				orderby : ' ORDER BY GENDER_NO ASC',
				customBtn:[{
					text: '导出',
					iconCls: 'export',
					handler: function(){
						gender_grid.exportGridDate();
					}
				},{
					text: '导入',
					iconCls: 'import',
					handler: function(){
						gender_grid.importGridData();
					}
				}],
				afterFormShow: function(grid,formTabPanel){
					
				},
				beforeFormSave: function(grid,formTabPanel,win){
					
				}
			});
			return gender_grid;
		}
}
Ext.onReady(function(){
	SEX_DISK.initPage();
	
});